home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9558 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!news1!ind-003-236-153
  3. From: dlmiller@iquest.net (Doug Miller)
  4. Subject: Re: Boot disk
  5. X-Nntp-Posting-Host: ind-003-236-153.iquest.net
  6. Message-ID: <Do3xqn.1HB@iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IQuest Network Services
  9. X-Newsreader: News Xpress Version 1.0 Beta #2.1
  10. References: <3144FCDF.38F3@plink.cityu.edu.hk>
  11. Date: Mon, 11 Mar 1996 14:34:58 GMT
  12.  
  13. Jonathan Chiu Chi Hang <95471004@plink.cityu.edu.hk> wrote:
  14. +Xref: news1 comp.lang.c:70675
  15. +Path: news1!news.sprintlink.net!newsfeed.internetmci.com!info.ucla.edu!agate!hpg30a.csc.cuhk.hk!news.cuhk.edu.hk!newsfeeder.ust.hk!news.cityu.edu.hk!usenet
  16. +From: Jonathan Chiu Chi Hang <95471004@plink.cityu.edu.hk>
  17. +Newsgroups: comp.lang.c
  18. +Subject: Boot disk
  19. +Date: Mon, 11 Mar 1996 20:26:07 -0800
  20. +Organization: City University Of Hong Kong
  21. +Lines: 9
  22. +Message-ID: <3144FCDF.38F3@plink.cityu.edu.hk>
  23. +NNTP-Posting-Host: cpccux1.cityu.edu.hk
  24. +Mime-Version: 1.0
  25. +Content-Type: text/plain; charset=us-ascii
  26. +Content-Transfer-Encoding: 7bit
  27. +X-Mailer: Mozilla 2.0 (Win16; I)
  28. +
  29. +Dear all,
  30. +
  31. +    Does anyone know how to write a program in C to make a disk that
  32. +redirect the boot drive from drive A to drive B when boot time.  What is
  33. +the algoithm?  Or provide the source code for reference.
  34. +
  35. +    Greatly appreciate any responses.
  36. +
  37. +Jonathan
  38. What you are attempting to do is intrinsically impossible.
  39.  
  40. Think about it:  what will happen to your program when you reboot the computer?
  41.  
  42. Further, I'm not aware of *any* PC BIOS that supports booting from the B drive.  Switching your A and B drives
  43. *cannot* be done solely through software, as you must either (1) swap cable connections on the drives, or (2) change
  44. jumper settings on both drives; if the drives have different capacities (e.g. 1.2 MB and 1.44 MB), you must also alter
  45. the BIOS settings for the drives (which can be done through software).
  46.  
  47. What is the problem you are trying to solve?
  48.